using System.Collections.Generic;
using iBPMS.Core.ComponentModel;

namespace iBPMS.Core.Repositories
{
    public interface IApplicationRepository
    {
        ApplicationDefinition GetDefinition(string applicationId);
        IEnumerable<ApplicationDefinition> GetDefinitions();

        void SaveDefinition(ApplicationDefinition definition);
    }
}